<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>TracSetup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="webmasterneo" />
<meta name="description"
	content="A short description of your site here." />
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body>

<div id="header">
<div class="header"></div>
</div>

<div id="menu">
<div class="menu"><a href="adminConsole.do">Home</a></div>
<div class="menu"><a href="esci.do">Esci</a></div>
<div class="menu"></div>
<div class="menu"></div>
<div class="menu"></div>
</div>

<div id="body">
<div class="spacer"></div>
<div class="content"><form:form acceptCharset="UTF-8"
	commandName="utente" id="formUtente"
	action="wizardCreateUser.do?_target1" method="post">
	<input type="hidden" name="_page" value="0" />
	<table width="600" border="1" align="center">

		<tr>
			<td width="192">Username</td>
			<td width="392"><form:input path="username" /> <form:errors
				path="username" /></td>
		</tr>
		<tr>
			<td>Password</td>
			<td><form:password path="password" /> <form:errors
				path="password" /></td>
		</tr>
		<tr>
			<td>Nome</td>
			<td><form:input path="nome" /> <form:errors path="nome" /></td>
		</tr>
		<tr>
			<td>Cognome</td>
			<td><form:input path="cognome" /> <form:errors path="cognome" />
			</td>
		</tr>
		<tr>
			<td>Email</td>
			<td><form:input path="email" /> <form:errors path="email" /></td>
		</tr>
		<tr>
			<td>Profilo</td>
			<td><select name="idProfilo" id="idProfilo">
				<c:forEach items="${profili}" var="item">
					<option value="<c:out value="${item.idProfilo}"/>"
						<c:if test="${item.idProfilo==param.idProfilo}">selected="selected"</c:if>><c:out
						value="${item.descrizione}" /></option>
				</c:forEach>
			</select> <!--form:input path="statoTicket" id="statoTicket"  /--> <!--form:errors path="statoTicket"/-->
			</td>
		</tr>
		<tr>
			<td>Societ&agrave;</td>
			<td>
			<select name="idCliente" id="idCliente">
				<option value="-1">-- Seleziona societ&agrave; --</option>
				<c:forEach items="${clienti}" var="item">
					<option value="<c:out value="${item.idCliente}"/>"
						<c:if test="${item.idCliente==param.idCliente}">selected="selected"</c:if>><c:out
						value="${item.descrizione}" /></option>
				</c:forEach>
			</select> <!--form:input path="statoTicket" id="statoTicket"  /--> <!--form:errors path="statoTicket"/-->
			</td>
		</tr>


		<tr>
			<td colspan="2"><input type="submit" name="selezionaProgetti"
				id="button" value="Next" /> <!-- input type="button" name="Annulla" id="Annulla" value="Annulla" /></td-->
		</tr>
	</table>
</form:form></div>
</body>

</html>
